
clear all
cd "Senegal Replication Files"

* create dataset
set more off
set matsize 11000
do "do files/create dataset"

* controls
global controls i.birthyear_control i.year_survey_control post1 treat2_10_inc wolof-others male urbrur2
global controls2 i.year_survey_control wolof-others male urbrur2


*****************
***   Plots   ***
*****************

do "do files/background plots"

*********************************
***   All replication files   ***
*********************************

log using "do files/1.1_main tables", replace
	do "do files/main regressions" /* main paper */
log close

log using "do files/1.2_appendix", replace
	do "do files/balance" /* A.5 */
	do "do files/additional effects" /* A.6, A.8, A.9 */
	do "do files/ols regressions" /* A.10 */
	do "do files/main effects robustness" /* A.11 Table A14 */
	do "do files/het effects robustness" /* A.11 Table A15 */
	do "do files/placebo regressions" /* A.13 */
	do "do files/iv regressions" /* A.7, A.12 */
log close 

log using "do files/1.3_summary statistics", replace
	do "do files/summary_statistics" /* A.3 */
log close

